package com.share.order.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
@Data
@Schema(description = "订单统计")
public class OrderStatistics
{
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 站点id */
    @Schema(description = "站点id")
    private Long stationId;

    /** 订单统计日期 */
    @Schema(description = "订单统计日期")
    private Date orderDate;

    /** 总金额 */
    @Schema(description = "总金额")
    private BigDecimal totalAmount;

    /** 订单总数 */
    @Schema(description = "订单总数")
    private Integer totalNum;

    /** 删除标记（0:不可用 1:可用） */
    @Schema(description = "删除标记（0:不可用 1:可用）")
    private Integer isDeleted;
}